package com.ihr360.payroll.dao;

import com.ihr360.payroll.model.dto.salary.payslip.StaffPayslip;
import com.ihr360.rest.reposity.SimpleRestReposity;

import java.util.List;

/**
 * @author tomtao
 */
public interface StaffPayslipRepository extends SimpleRestReposity<StaffPayslip, Long> {

    List<StaffPayslip> findByCompanyIdAndStaffSalaryIdStaffIdAndStatus(String companyId, String staffId, int status);
}
